package cn.s1995.sloth.bizs.entity;

import cn.s1995.sloth.bizs.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 国家区域
 *
 * @author Lex
 * @date 2023-12-12 01:33:21
 */
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "国家区域")
@TableName("biz_country")
public class Country extends BaseEntity {


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "ID")
    private Long id;

	/**
	* 名称
	*/
    @Schema(description = "名称")
	@TableField("`name`")
    private String name;

	/**
	* 国家码
	*/
    @Schema(description = "国家码")
	@TableField("`code`")
    private Integer code;

	/**
	* 语言代码
	*/
    @Schema(description = "语言代码")
    private String lang;

	/**
	* 国旗图片
	*/
    @Schema(description = "国旗图片")
    private String image;

	/**
	* 是否热门
	*/
    @Schema(description = "是否热门")
    private Boolean isHot;

	/**
	* 排序
	*/
    @Schema(description = "排序")
    private Integer sort;

	/**
	* 洲编码
	*/
    @Schema(description = "洲编码")
    private String continentCode;

	/**
	* 国家编码
	*/
    @Schema(description = "国家编码")
    private String countryCode;

	/**
	* 国家名称
	*/
    @Schema(description = "国家名称")
    private String countryName;
}
